> ## Documentation Index
> Fetch the complete documentation index at: https://sequence-0fb8d9e6-api_docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Trails

> Intent‑based, cross‑chain payments with one user confirmation. Aggregate user liquidity across chains and orchestrate swaps/bridges automatically.

<Note>
  This page is a high‑level intro. For full docs, see the <a href="https://docs.trails.build/home">Trails documentation</a> and <a href="https://trails.build/">site</a>.
</Note>

## What you get

* **One confirmation** from any EOA or smart wallet (embedded or external).
* **Unified liquidity**: check balances across chains/tokens; propose viable routes.
* **Automatic orchestration**: swap/bridge as needed, then execute the final target call on the destination chain.
* **Non‑custodial**: users sign; Trails never holds funds.

## Typical uses

* **Pay**: mints, purchases, subscriptions, in‑app currency top‑ups.
* **Fund**: deposits to protocols, on‑chain account funding.
* **Swap**: low‑latency cross‑chain swaps in‑app.
* **Earn**: deposit into vaults/strategies.

## How it works (high level)

<Steps>
  <Step title="Define intent">
    Your app declares the destination chain, target contract/call, and desired amount/currency.
  </Step>

  <Step title="Inspect & route">
    Trails inspects the user’s balances. If passthrough is possible, it uses it; otherwise it proposes cross‑chain/token routes.
  </Step>

  <Step title="Orchestrate & execute">
    Trails bundles required swaps/bridges and submits the final transaction for the user to confirm — one signature.
  </Step>
</Steps>

## Get started

* **Install:** `pnpm add 0xtrails`
* **Docs & examples:** <a href="https://docs.trails.build/home">docs.trails.build/home</a>
* **Use with Sequence:** launch Trails from your app UI alongside <a href="/sdk/web/overview">Web SDK</a>, or combine with <a href="/solutions/payments/checkout-sdk">Checkout SDK</a> for card paths.

<Info>
  Trails targets **EVM** chains and works with **any wallet**. See official Trails docs for supported chains and configuration.
</Info>
